<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{THEME_STYLE_PATH}style/css/default_new.css" type="text/css" rel="stylesheet" />
<script src="{THEME_STYLE_PATH}style/js/jquery.min.js"></script>
<script src="{THEME_STYLE_PATH}style/js/core.js"></script>
<link href="{THEME_STYLE_PATH}style/css/percenter.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('*');
</script>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
    html{overflow:hidden;}
    body{height:100%;overflow:auto;}
</style>
<![endif]-->
</head>

<body>
	
{include template('header','common')}
	<div id="Mainbox">
		<!--插入侧边栏-->
		{include template('sidebar_login','common')}
		<!--插入侧边栏-->
		{include template('top_advance','common')}
		
		<!-- 左侧 -->
		{include template('member_left','common')}
		<!--右侧-->
		<div class="percenter_right">
			<div class="aboutper_new">
				<div class="abnew_left">
					<div class="abnew_left" style="border-bottom:1px dashed #dedede; padding-bottom:15px;">
						<p class="a1">账户余额：</p>
						<div class="zhud">
							
							<p class="a2"><span class="a1 ofe"><?php echo number_format($info['u_coin']) ;?><img src="{THEME_STYLE_PATH}style/images/ub.gif" style="vertical-align:2px; margin-left:1px;" /></span><br /><span class="da3">价值：约{$coin}人民币</span></p>
							<a href="{U('Member/Account/cash')}" class="txbtn udp">提&nbsp;现</a><a href="{U('document/index/lists',array('catid'=>6))}" target="_blank" class="hjbtn udp2">兑&nbsp;奖</a>

						</div>
					</div>
					
					<div class="clear"></div>
				</div>
				<div class="abnew_right">
					<p class="a1">其他：</p>
					<p class="a2"><a href="{U('Document/Index/lists',array('catid'=>2))}" target="_blank" class="b40link">玩试玩平台赚{type_change()}币</a></p>
					<p class="a2"><a href="{U('Document/Index/lists',array('catid'=>1))}" target="_blank" class="b40link">参与打码赚{type_change()}币</a></p>
					<p class="a2"><a href="{U('Document/Index/lists',array('catid'=>3))}" target="_blank" class="b40link">体验广告赚{type_change()}币</a></p>
				</div>
				<div class="clear"></div>
			</div>
			<div class="aboutper_list">
				<p class="a1" id="strAll">最近提现记录<i>|</i><span><a href="javascript:void(0);" onclick="changeTab('games')" id="games_show" class="b40link">最新试玩记录</a></span><i>|</i><span><a href="javascript:void(0);" onclick="changeTab('captcha')" id="captcha_show" class="b40link">最新打码记录</a></span></p>
				<ul class="txlist" id="cash_list">
				{pc:member action="cashList" id="$userinfo[userid]"}
				{if $data}				
					{loop $data $g}
						<li class="a1">{date('Y-m-d',$g[cash_time])}</li>
						<li class="a2">支付宝提现<span class="ofe">{$g[apply_money]}</span>元</li>
						<li class="a3">{if $g[cash_status] == '1'}已支付{else}未支付{/if}</li>
					{/loop}
				{else}
					<li style="text-align: center;width: 654px; padding:10px 0px; color:#a3a3a3">暂无记录，继续努力哦~</li>
				{/if}
				{/pc}
				</ul>
				
				<ul class="swlist" id="games_list" style="display:none;">
					<li style="text-align: center;width: 654px; padding:10px 0px; color:#a3a3a3">暂无记录，继续努力哦~</li>
				</ul>
				<ul class="dmlist" id="captcha_list" style="display:none;">
				{pc:member action="datalog" id="$userinfo[userid]"}
				{if $data}				
					{loop $data $t}
						<li class="a2">领取[{$t[title]} {date("Y-m-d",$t[updatetime])}]，{$t[yard_num]}码工资 ，工号：{$t[name]}</li>
						<li class="a3"><span class="ofe"><strong>+{$t[yard_u_coin]}</strong><img src="{THEME_STYLE_PATH}style/images/ub.gif"  style="vertical-align:-1px; margin-left:2px;"/></span></li>
					{/loop}				
				{else}					
					<li style="text-align: center;width: 654px; padding:10px 0px; color:#a3a3a3">暂无记录，继续努力哦~</li>
				{/if}
				{/pc}
				</ul>
			</div>
			<div class="aboutper_q">
				<p class="a1">相关帮助</p>
				<ul>
											
				{pc:document action="lists" catid="30" num="4"}
				{loop $data $s}
					<li><img src="{THEME_STYLE_PATH}style/images/percenter/q.png" /><a href="{$s[url]}">{$s['title']}</a></li>
				{/loop}
				{/pc}
				</ul>
			</div>
			
		</div>
		<!--右侧-->
		<div class="clear"></div>
	</div>
	</div>
	<!--主体-->
{include template('footer','common')}
	<script type="text/javascript">
	$(document).ready(function(){
		
		$('#detail_js').mouseover(function(){
			$('#tip_jx').show();
		});
		$('#detail_js').mouseleave(function(){
			$('#tip_jx').hide();
		});
		$('#tip_jx').mouseover(function(){
			$(this).show();
		});
		$('#tip_jx').mouseleave(function(){
			$(this).hide();
		});
		$('#detail_syjs').mouseover(function(){
			$('#tip_syjs').show();
		});
		$('#detail_syjs').mouseleave(function(){
			$('#tip_syjs').hide();
		});
		$('#tip_syjs').mouseover(function(){
			$(this).show();
		});
		$('#tip_syjs').mouseleave(function(){
			$(this).hide();
		});
	});

	function changeTab(s)
	{
		$('.txlist').hide();$('.swlist').hide();$('.dmlist').hide();
		$('#'+s+'_list').show();
		if(s=='cash'){
			var _str = '最近提现记录<i>|</i><span><a href="javascript:void(0);" onclick="changeTab(\'games\')" class="b40link">最新试玩记录</a></span><i>|</i><span><a href="javascript:void(0);" onclick="changeTab(\'captcha\')" class="b40link">最新打码记录</a></span>';
			var _html = '<a href="/personal/CashList/" class="b40link">查看所有提现记录</a>';
		}else if(s=='games'){
			var _str = '<span><a href="javascript:void(0);" onclick="changeTab(\'cash\')" class="b40link">最新提现记录</a></span><i>|</i>最近试玩记录<i>|</i><span><a href="javascript:void(0);" onclick="changeTab(\'captcha\')" class="b40link">最新打码记录</a></span>';
			var _html = '<a href="/personal/Games/" class="b40link">查看所有试玩记录</a>';
		}else if(s=='captcha'){
			var _str = '<span><a href="javascript:void(0);" onclick="changeTab(\'cash\')" class="b40link">最新提现记录</a></span><i>|</i><span><a href="javascript:void(0);" onclick="changeTab(\'games\')" class="b40link">最新试玩记录</a></span><i>|</i>最近打码记录';
			var _html = '<a href="/personal/Captcha/" class="b40link">查看所有打码记录</a>';
		}
		$('#strAll').html(_str);
		$('#showAll').html(_html);
	}
	</script>
</body>
</html>